{% extends "admin/base_site.html" %}
{% load i18n %}

{% block breadcrumbs %}
    <div class="breadcrumbs">
      <a href="../../../">
        {% trans "Home" %}
      </a>
       &rsaquo;
       <a href="../../">
         {{ title }}
       </a>
       &rsaquo;
       <a href="../">
         Sessions
      </a>
       &rsaquo;
         Session
    </div>
{% endblock %}

{% block content %}
<div id="content-main">
  <div class="module">
    <h3>User: {% if user.pk %}<a href="{% url hyperlog_show_admin_user_log user.pk %}">{% firstof user.fullname user.username %}</a>{% else %}{{ user }}{% endif %}</h3>
    <h4>Session Key: {{ session_key }}</h4>
    <h4>Expire Date: {{ session_date }}</h4>
    <table summary="Session">
      <tbody>
        <tr>
          <th>Key</th>
          <th>Value</th>
        </tr>
          {% for key, value in session_items %}
            <tr>
                <td>{{ key }}</td>
                <td>{{ value }}</td>
            </tr>
          {% endfor %}
      </tbody>
    </table>
  </div>
</div>
{% endblock %}
        
{% block sidebar %}
{% endblock %}
